/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;

/**
 * <p>Project: mybatis2022 - DbMapper
 * <p>Powered by webrx On 2022-04-11 17:22:20
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public interface DbMapper {

    @Select("show databases")
    Set<String> dbs();

    @Select("show tables")
    List<String> tbs();

    @Select("show tables in ${dbname}")
    List<String> tbsfrom(String dbname);
}
